package tt.dz.entity.base;

import java.io.Serializable;
import java.util.Date;

import tt.dz.util.annotation.PrimaryKey;
import tt.dz.util.annotation.QueryLikeParam;
import tt.dz.util.annotation.Table;

/**
 * 设备型号
 * 
 * @author pengyu
 * 
 * 
 */
@Table(name = "oms_device_type")
public class OmsDeviceType implements Serializable {
	
	private static final long serialVersionUID = -431236110507242696L;
	
	@PrimaryKey
	private String device_id;
	/** 厂家id */
	private String factory_id;
	//设备电流类型:1--直流  2--交流  3--混合
	private String charger_type;
	//设备一级类型  0x00 壁挂式  0x01 立式   0x02内嵌式   0x03 其它  
	private String dev_type1;
	//设备二级类型
	private String dev_type2;
	//设备充电类型 ：1：慢充；2：快充；3：未知
	private String dev_charge_type;
	//充电接口类型 1.国标；2特斯拉；3.ABB， 4其他
	private String charge_port_type;
	//电桩连接类型 0-在线桩（GPRS桩）,1-离线桩（蓝牙桩）
	private String connect_type;
	/** 类型编号 */
	private String device_code;
	/** 类型名称 */
	@QueryLikeParam
	private String device_name;
	//最高充电电压V
	private String charge_v_max;
	//最大充电电流A
	private String charge_a_max;
	//最大充电功率KW
	private String charge_p_max;
	//BMS 单体保护电压
	private String bms_protect_v;
	//BMS 充电保护温度
	private String bms_protect_a;
	//固件软件版本号
	private String software_version;
	//设备扩展属性
	private String dev_attribute;
	/** 记录时间 */
	private Date create_time;
	/** 创建人id */
	private String create_oper_id;
	/** 更新时间 */
	private Date update_time;
	/** 更新人id */
	private String update_oper_id;
	//有效标记
	private Integer valid_flag;
	
	public OmsDeviceType() {
		super();
	}
	public OmsDeviceType(String device_id) {
		super();
		this.device_id = device_id;
	}
	public String getDevice_id() {
		return device_id;
	}
	public void setDevice_id(String device_id) {
		this.device_id = device_id;
	}
	public String getFactory_id() {
		return factory_id;
	}
	public void setFactory_id(String factory_id) {
		this.factory_id = factory_id;
	}
	public String getCharger_type() {
		return charger_type;
	}
	public void setCharger_type(String charger_type) {
		this.charger_type = charger_type;
	}
 
	public String getDev_type1() {
		return dev_type1;
	}
	public void setDev_type1(String dev_type1) {
		this.dev_type1 = dev_type1;
	}
	public String getDev_type2() {
		return dev_type2;
	}
	public void setDev_type2(String dev_type2) {
		this.dev_type2 = dev_type2;
	}
	public String getDev_charge_type() {
		return dev_charge_type;
	}
	public void setDev_charge_type(String dev_charge_type) {
		this.dev_charge_type = dev_charge_type;
	}
	public String getCharge_port_type() {
		return charge_port_type;
	}
	public void setCharge_port_type(String charge_port_type) {
		this.charge_port_type = charge_port_type;
	}
	public String getConnect_type() {
		return connect_type;
	}
	public void setConnect_type(String connect_type) {
		this.connect_type = connect_type;
	}
 
	public String getDevice_code() {
		return device_code;
	}
	public void setDevice_code(String device_code) {
		this.device_code = device_code;
	}
	public String getDevice_name() {
		return device_name;
	}
	public void setDevice_name(String device_name) {
		this.device_name = device_name;
	}
	public String getCharge_v_max() {
		return charge_v_max;
	}
	public void setCharge_v_max(String charge_v_max) {
		this.charge_v_max = charge_v_max;
	}
	public String getCharge_a_max() {
		return charge_a_max;
	}
	public void setCharge_a_max(String charge_a_max) {
		this.charge_a_max = charge_a_max;
	}
	public String getBms_protect_v() {
		return bms_protect_v;
	}
	public void setBms_protect_v(String bms_protect_v) {
		this.bms_protect_v = bms_protect_v;
	}
	public String getBms_protect_a() {
		return bms_protect_a;
	}
	public void setBms_protect_a(String bms_protect_a) {
		this.bms_protect_a = bms_protect_a;
	}
	public String getSoftware_version() {
		return software_version;
	}
	public void setSoftware_version(String software_version) {
		this.software_version = software_version;
	}
	public String getDev_attribute() {
		return dev_attribute;
	}
	public void setDev_attribute(String dev_attribute) {
		this.dev_attribute = dev_attribute;
	}
	public Date getCreate_time() {
		return create_time;
	}
	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}
	public String getCreate_oper_id() {
		return create_oper_id;
	}
	public void setCreate_oper_id(String create_oper_id) {
		this.create_oper_id = create_oper_id;
	}
	public Date getUpdate_time() {
		return update_time;
	}
	public void setUpdate_time(Date update_time) {
		this.update_time = update_time;
	}
	public String getUpdate_oper_id() {
		return update_oper_id;
	}
	public void setUpdate_oper_id(String update_oper_id) {
		this.update_oper_id = update_oper_id;
	}
	public Integer getValid_flag() {
		return valid_flag;
	}
	public void setValid_flag(Integer valid_flag) {
		this.valid_flag = valid_flag;
	}
	public String getCharge_p_max() {
		return charge_p_max;
	}
	public void setCharge_p_max(String charge_p_max) {
		this.charge_p_max = charge_p_max;
	}
	 
}
